using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;

namespace Quiki
{
    public class QuikiInfo
    {
        [SuppressMessage ("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
        public Uri Url
        {
            get { return new Uri("http://code.google.com/p/quiki/"); }
        }

        [SuppressMessage ("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
        public Version Version
        {
            get
            {
                FileVersionInfo version = FileVersionInfo.GetVersionInfo (Assembly.GetExecutingAssembly ().Location);
                string fileVersion = version.FileVersion;
                return new Version (fileVersion);
            }
        }
    }
}